#include "cards.h"
#include "deck.h"
#include "player.h"
#include <string>
#include <limits>
#include <iostream>
#include <cstdlib>
#include <stdlib.h>
#include <stdio.h>
#define MAX_PLAYER 52
class Blackjack{
 public:
  Blackjack();
  Blackjack(int players);

  void Play();
  //Plays a normal one player game
  //Preconditions: none
  //Postconditions: a game of blackjack is started in the terminal

  void Host(bool);
  //Starts a game of blackjack where the program acts as the server
  //Preconditions: PlayOnline() is run
  //Postconditions: The server starts

  void PlayOnline();
  //Starts either Host() or Client()
  //Preconditions: none
  //Postconditions: Host is run, client isn't started
  
  void Client();
  //unusued

 private:
  char* ip;
  int numPlayers;
  Player* playerAry[MAX_PLAYER];
  Player dealerTopCard;
};
